Supervised learning

#incomplete